package com.bootdo.member.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author lujingqian
 * @email 2100272728@qq.com
 * @date 2019-11-11 15:04:30
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class ShequUserAddress extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//用户id
		@HapiFeild("用户id")
	private Long uid;
	
	//用户姓名
		@HapiFeild("用户姓名")
	private String userName;
	
	//收货人姓名
		@HapiFeild("收货人姓名")
	private String receiverName;
	
	//收货人联系方式
		@HapiFeild("收货人联系方式")
	private String receiverMobile;
	
	//收货人地址
		@HapiFeild("收货人地址")
	private String receiverAddress;
	
	//0代表非默认 1代表默认
		@HapiFeild("0代表非默认 1代表默认")
	private Integer isDefault;
	
	//社区id
		@HapiFeild("社区id")
	private Long communityId;
	
	//社区名称
		@HapiFeild("社区名称")
	private String communityName;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;

   	//门牌号
		@HapiFeild("门牌号")
		private String houseNumber;

    public ShequUserAddress(){
    
    	this.createTime = new Date();
    }

	public String getHouseNumber() {
		return houseNumber;
	}

	public void setHouseNumber(String houseNumber) {
		this.houseNumber = houseNumber;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setUid(Long uid) {
		this.uid = uid;
	}
	/**
	 * 获取：用户id
	 */
	public Long getUid() {
		return uid;
	}
	/**
	 * 设置：用户姓名
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户姓名
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：收货人姓名
	 */
	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}
	/**
	 * 获取：收货人姓名
	 */
	public String getReceiverName() {
		return receiverName;
	}
	/**
	 * 设置：收货人联系方式
	 */
	public void setReceiverMobile(String receiverMobile) {
		this.receiverMobile = receiverMobile;
	}
	/**
	 * 获取：收货人联系方式
	 */
	public String getReceiverMobile() {
		return receiverMobile;
	}
	/**
	 * 设置：收货人地址
	 */
	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress;
	}
	/**
	 * 获取：收货人地址
	 */
	public String getReceiverAddress() {
		return receiverAddress;
	}
	/**
	 * 设置：0代表非默认 1代表默认
	 */
	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}
	/**
	 * 获取：0代表非默认 1代表默认
	 */
	public Integer getIsDefault() {
		return isDefault;
	}
	/**
	 * 设置：社区id
	 */
	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}
	/**
	 * 获取：社区id
	 */
	public Long getCommunityId() {
		return communityId;
	}
	/**
	 * 设置：社区名称
	 */
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}
	/**
	 * 获取：社区名称
	 */
	public String getCommunityName() {
		return communityName;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
